<?php

define('ROOT_PATH', dirname(dirname(dirname(__FILE__))));
define('APP_PATH', dirname(dirname(__FILE__)));

// 配置缓存
require ROOT_PATH . '/framework/library/Config.php';

$app = new Yaf_Application(Config::load(APP_PATH . "/conf/config.ini", 'product'));
$app->bootstrap();
